package com.devbobcorn.nekoration;

import net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory;
import net.fabricmc.fabric.api.gamerule.v1.GameRuleRegistry;
import net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule;
import net.minecraft.world.GameRules;
import net.minecraft.world.GameRules.Category;

public class NekoConfig {
    public enum HorConnectionDir {
        LEFT2RIGHT,
        RIGHT2LEFT,
        BOTH,
        NEITHER
    }

    public enum VerConnectionDir {
        BOTTOM2TOP,
        TOP2BOTTOM,
        BOTH,
        NEITHER
    }

    public static final GameRules.Key<EnumRule<HorConnectionDir>> HOR_CONNECTION_DIR = GameRuleRegistry.register("horConnectDir", Category.UPDATES, GameRuleFactory.createEnumRule(HorConnectionDir.LEFT2RIGHT));
    public static final GameRules.Key<EnumRule<VerConnectionDir>> VER_CONNECTION_DIR = GameRuleRegistry.register("verConnectDir", Category.UPDATES, GameRuleFactory.createEnumRule(VerConnectionDir.BOTTOM2TOP));
}
